home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / Peter Lewis / FMenus Example / Source Read Me < prev   
Encoding:
Text File  |  1992-11-24  |  1.9 KB  |  26 lines  |  [TEXT/ttxt]

  1. This source code may be used for any non-commercial purpose as long  as I get a mention in the about box and documentation of any derivative program.  It may not be used in commercial programs without my permission.  Shareware programs are counted as non-commercial.
  2.  
  3. The code was written in THINK Pascal v4.0.1.  The code is very sparsely 
  4. commented, but should be fairly understandable.  All pascal units with names like MySomething.unit are from my personal library or reusuable modules, and should be fairly easy to incorporate into any other program.
  5.  
  6. This is some example code to demonstrate the use of MyFMenus.unit.  This unit implements FMenus in a similar way to the Finder, which allows decoupling of the menu position from the code that executes the menu's command.  The example program is not a full shell, it simply implements the Menus, and each menu selection prints a message to the console window.  It should be fairly easy to understand.  I've used this code in several programs, and it works quite nicely, avoiding the need to keep changing constants in the code every time you add a menu item.
  7.  
  8. BTW, in case you are wondering why I put 'My' at the front of all my library units, it isn't that I'm overly possesive, its just that I used to have names like Types, and they started clashing with Apple's units, so I figured I'd name them all consistently and avoid the problem in the future...
  9.  
  10. This code is provided AS IS.  It's free, and you get what you pay for.  I don't guarentee any support in any way shape of form.  If there is anything wrong, fix it and tell me about it.
  11.  
  12. Send postcards, comments, bug reports, wishes, questions to:
  13.  
  14. Peter N Lewis,
  15. 10 Earlston Way,
  16. Booragoon, WA, 6154,
  17. AUSTRALIA
  18.  
  19. or, better yet, by electronic mail to:
  20.  
  21. Internet: peter@ncrpda.curtin.edu.au
  22. Bitnet: peter%ncrpda.curtin.edu.au@cunyvm.bitnet
  23. UUCP: uunet!munnari.oz!ncrpda.curtin.edu.au!peter
  24.  
  25. If you use this source, please send me a note!
  26.